@include('home.UserCenter.header')
        <!-- ngView: -->
        <div ng-view="" role="main" class="ng-scope address" >
            <div class="profile-container container" profile-container="" page-name="address"
            page-title="地址管理">
                <div class="clearfix">
                    <div class="location" ng-style="{visibility: geohash ? &#39;&#39; : &#39;hidden&#39;}"
                    role="navigation" location="">
                        <span>
                            当前位置 : {{session('dizhi')}}
                        </span>
                       
                        <span ng-transclude="">

                            <span class="ng-binding ng-scope">
                                地址管理
                            </span>
                        </span>
                    </div>
                    <div search-input="">
                    </div>
                </div>
                @include('home.Usercenter.leftList')
                <div class="profile-panel" role="main">
                    <!-- ngIf: pageTitleVisible -->
                    <h3 ng-if="pageTitleVisible" class="profile-paneltitle ng-scope">
                        <span ng-bind="pageTitle" class="ng-binding">
                            地址管理
                        </span>
                        <span class="subtitle ng-binding" ng-bind-html="pageSubtitle | toTrusted">
                        </span>
                    </h3>
                    <!-- end ngIf: pageTitleVisible -->
                    <div class="profile-panelcontent" ng-transclude="">
                        <div class="loading ng-binding ng-isolate-scope ng-hide" loading="" content="正在载入地址..."
                        ng-show="addressLoading">
                            <!-- ngIf: type==='profile' -->
                            <img ng-if="type===&#39;profile&#39;" src="./个人中心_地址管理 _ 饿了么网上订餐_files/profile-loading.4984fa.gif"
                            alt="正在加载" class="ng-scope">
                            <!-- end ngIf: type==='profile' -->
                            <!-- ngIf: type==='normal' -->
                            正在载入地址...
                        </div>
                        <div class="desktop-addresslist clearfix ng-scope" ng-hide="addressLoading">
                            <!-- ngRepeat: address in userAddresses -->
                             @foreach($address as $k)
                            
                            <div class="desktop-addressblock ng-scope" ng-repeat="address in userAddresses">
                                <div class="desktop-addressblock-buttons">
                                    <a class="desktop-addressblock-button" href="/modify/update?id={{$k->id}}" ng-click="editAddress(address)">
                                        修改
                                    </a>
                                    <a class="desktop-addressblock-button" href="/modify/delete?id={{$k->id}}" ng-click="showMask = true">
                                        删除
                                    </a>
                                </div>
                                <div class="desktop-addressblock-name ng-binding">
                                    {{$k->name}}
                                    <span class="ng-binding">
                                        {{$k->sex}}
                                    </span>
                                </div>
                                <div class="desktop-addressblock-address ng-binding" ng-bind="address.address + &#39; &#39; + address.address_detail">
                                    {{$k->city}} {{$k->content}}
                                </div>
                                <div class="desktop-addressblock-mobile ng-binding" ng-bind="address.phone">
                                    {{$k->phone}}
                                </div>
                                <div class="desktop-addressblock-mask ng-hide" ng-show="showMask">
                                </div>
                                <!-- ngIf: !address.st_geohash || !address.address -->
                                <div class="desktop-addressblock-removebuttons ng-hide" ng-show="showMask">
                                    <p>
                                        确定删除收货地址?
                                    </p>
                                    <button class="confirmdelete" ng-click="removeAddress(address)">
                                        确定
                                    </button>
                                    <button class="canceldelete" ng-click="showMask = false">
                                        取消
                                    </button>
                                </div>
                            </div>
                            @endforeach

                            <!-- end ngRepeat: address in userAddresses -->
                            <a class="desktop-addressblock desktop-addressblock-addblock newaddress" href="/modify/raddress" ng-click="addAddress()" style="line-height: 110px;">
                                <i class="icon-plus">
                                </i>
                                添加新地址
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

 @include('home.Usercenter.footer')
      